import { _decorator, Button, EditBox, Label, Node, ProgressBar, Toggle } from 'cc';
import { proxy } from '../../core/module/proxy/ProxyDecorator';
import { ProxyBase } from '../../core/module/proxy/ProxyBase';
import { uiparams } from '../../core/module/ui/UIDecorator';
import { LayerEnum } from '../share/Enum';

const { ccclass, property } = _decorator;

@uiparams(LayerEnum.poup)
@proxy('login', 'prefab/account')
@ccclass('AccountProxy')
export class AccountProxy extends ProxyBase {
    @property(EditBox)
    inputAccount: EditBox

    @property(EditBox)
    inputPassword: EditBox

    @property(Button)
    btnLogin: Button

    @property(Button)
    btnClose: Button

    @property(Button)
    btnRegister: Button
}